
package ch.hearc.coursJava.GUI.j2D.tableAnimerHSB.settings;


public class JPanelDessinSettings
	{

	/*------------------------------------------------------------------*\
	|*							Constructeurs							*|
	\*------------------------------------------------------------------*/

	public JPanelDessinSettings()
		{
		this(NBR_RANGEE, RAYON, DELTA_RAYON, ALPHA, DELTA_ALPHA, HUE, DELTA_HUE, ANIMATIONTYPE);
		}

	public JPanelDessinSettings(int nbrRangee, int rayon, double dRayon, double alpha, double dAlpha, double hue, double dHue, AnimationType animationType)
		{
		this.nbrRangee = nbrRangee;
		this.rayon = rayon;
		this.dRayon = dRayon;
		this.alpha = alpha;
		this.dAlpha = dAlpha;
		this.hue = hue;
		this.dHue = dHue;
		this.animationType = animationType;
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	/*------------------------------*\
	|*				Set				*|
	\*------------------------------*/

	public void setNbrRangee(int nbrRangee)
		{
		this.nbrRangee = nbrRangee;
		}

	public void setRayon(int rayon)
		{
		this.rayon = rayon;
		}

	public void setdRayon(double dRayon)
		{
		this.dRayon = dRayon;
		}

	public void setAlpha(double alpha)
		{
		this.alpha = alpha;
		}

	public void setdAlpha(double dAlpha)
		{
		this.dAlpha = dAlpha;
		}

	public void setHue(double hue)
		{
		this.hue = hue;
		}

	public void setdHue(double dHue)
		{
		this.dHue = dHue;
		}

	public void setAnimationType(AnimationType animationType)
		{
		this.animationType = animationType;
		}

	/*------------------------------*\
	|*				Get				*|
	\*------------------------------*/

	public int getNbrRangee()
		{
		return this.nbrRangee;
		}

	public int getRayon()
		{
		return this.rayon;
		}

	public double getdRayon()
		{
		return this.dRayon;
		}

	public double getAlpha()
		{
		return this.alpha;
		}

	public double getdAlpha()
		{
		return this.dAlpha;
		}

	public double getHue()
		{
		return this.hue;
		}

	public double getdHue()
		{
		return this.dHue;
		}

	public AnimationType getAnimationType()
		{
		return this.animationType;
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/

	/*------------------------------------------------------------------*\
	|*							Attributs Private						*|
	\*------------------------------------------------------------------*/

	// Input Output
	private int nbrRangee;

	private int rayon;
	private double dRayon;

	private double alpha;
	private double dAlpha;

	private double hue;
	private double dHue;

	private AnimationType animationType;

	/*------------------------------*\
	|*			  Static			*|
	\*------------------------------*/

	public static final int NBR_RANGEE = 4;
	public static final int RAYON = 80;
	public static final int DELTA_RAYON = 30;
	public static final double ALPHA = 0;
	public static final double DELTA_ALPHA = 0.0000001;
	public static final double HUE = 0;
	public static final double DELTA_HUE = 0.0000001;
	public static final AnimationType ANIMATIONTYPE = AnimationType.NONE;

	}
